import cv2 as cv
import numpy as np
import seaborn as sns
import matplotlib.pyplot as plt

KSIZE = 5
img = np.zeros([KSIZE, KSIZE], np.float32)
img[KSIZE // 2, KSIZE // 2] = 1.
print(img)

gau = cv.GaussianBlur(img, (KSIZE, KSIZE), sigmaX=1)
print(gau)
plt.figure(figsize=[8, 6])
sns.heatmap(gau, annot=True)
plt.show()
